import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'doufeng_tacit_model.dart';

class StopTacitWidget extends StatefulWidget {
  @override
  State<StopTacitWidget> createState() => _StopTacitWidgetState();
}

class _StopTacitWidgetState extends State<StopTacitWidget>
    with TickerProviderStateMixin {
  @override
  Widget build(BuildContext context) {
    return Consumer<DoufengTacitModel>(builder: (context, model, child) {
      return Container(
        padding: const EdgeInsets.symmetric(
          horizontal: 34,
        ),
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            SizedBox(
              width: 54,
              height: 44,
              child: Stack(
                children: [
                  Align(
                      alignment: Alignment.center,
                      child: Image.asset(
                        "assets/images/ic_tacit_heart.png",
                        width: 53,
                        height: 44,
                      )),
                  Align(
                      alignment: Alignment.center,
                      child: Image.asset(
                        "assets/images/ic_tacit_heart_lines.png",
                        width: 54,
                        height: 18,
                      )),
                ],
              ),
            ),
            const SizedBox(
              height: 30,
            ),
            const Text(
              "默契值测验中...",
              style: TextStyle(
                fontSize: 15,
                fontWeight: FontWeight.w500,
                color: Colors.white,
              ),
            ),
          ],
        ),
      );
    });
  }
}
